home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_201 / draco / drinc / devices / printer.g < prev    next >
Text File  |  1992-05-06  |  2KB  |  144 lines

  1. /*requirespreviousinclusionofinclude:exec/io.g*/
  2. uint
  3. „PRD_RAWWRITEˆ=CMD_NONSTD+0,
  4. „PRD_PRTCOMMAND†=CMD_NONSTD+1,
  5. „PRD_DUMPRPORT‡=CMD_NONSTD+2;
  6.  
  7. byte
  8. „aRISˆ=0,
  9. „aRINˆ=1,
  10. „aINDˆ=2,
  11. „aNELˆ=3,
  12. „aRI‰=4,
  13.  
  14. „aSGR0‡=5,
  15. „aSGR3‡=6,
  16. „aSGR23†=7,
  17. „aSGR4‡=8,
  18. „aSGR24†=9,
  19. „aSGR1‡=10,
  20. „aSGR22†=11,
  21. „aSFCˆ=12,
  22. „aSBCˆ=13,
  23.  
  24. „aSHORP0…=14,
  25. „aSHORP2…=15,
  26. „aSHORP1…=16,
  27. „aSHORP4…=17,
  28. „aSHORP3…=18,
  29. „aSHORP6…=19,
  30. „aSHORP5…=20,
  31.  
  32. „aDEN6‡=21,
  33. „aDEN5‡=22,
  34. „aDEN4‡=23,
  35. „aDEN3‡=24,
  36. „aDEN2‡=25,
  37. „aDEN1‡=26,
  38.  
  39. „aSUS2‡=27,
  40. „aSUS1‡=28,
  41. „aSUS4‡=29,
  42. „aSUS3‡=30,
  43. „aSUS0‡=31,
  44. „aPLUˆ=32,
  45. „aPLDˆ=33,
  46.  
  47. „aFNT0‡=34,
  48. „aFNT1‡=35,
  49. „aFNT2‡=36,
  50. „aFNT3‡=37,
  51. „aFNT4‡=38,
  52. „aFNT5‡=39,
  53. „aFNT6‡=40,
  54. „aFNT7‡=41,
  55. „aFNT8‡=42,
  56. „aFNT9‡=43,
  57. „aFNT10†=44,
  58.  
  59. „aPROP2†=45,
  60. „aPROP1†=46,
  61. „aPROP0†=47,
  62. „aTSSˆ=48,
  63. „aJFY5‡=49,
  64. „aJFY7‡=50,
  65. „aJFY6‡=51,
  66. „aJFY0‡=52,
  67. „aJFY3‡=53,
  68. „aJFY1‡=54,
  69.  
  70. „aVERP0†=55,
  71. „aVERP1†=56,
  72. „aSLPP‡=57,
  73. „aPERF‡=58,
  74. „aPERF0†=59,
  75.  
  76. „aLMSˆ=60,
  77. „aRMSˆ=61,
  78. „aTMSˆ=62,
  79. „aBMSˆ=63,
  80. „aSTBM‡=64,
  81. „aSLRM‡=65,
  82. „aCAMˆ=66,
  83.  
  84. „aHTSˆ=67,
  85. „aVTSˆ=68,
  86. „aTBC0‡=69,
  87. „aTBC3‡=70,
  88. „aTBC1‡=71,
  89. „aTBC4‡=72,
  90. „aTBCALL…=73,
  91. „aTBSALL…=74,
  92. „aEXTEND…=75;
  93.  
  94. type
  95. „IOPrtCmdReq_t=struct{
  96. ˆMessage_tiop_Message;
  97. ˆ*Device_tiop_Device;
  98. ˆ*Unit_tiop_Unit;
  99. ˆuintiop_Command;
  100. ˆushortiop_Flags;
  101. ˆshortiop_Error;
  102. ˆuintiop_PrtCommand;
  103. ˆushortiop_Parm0,iop_Parm1,iop_Parm2,iop_Parm3;
  104. „},
  105.  
  106. „IODRPReq_t=struct{
  107. ˆMessage_tiodrp_Message;
  108. ˆ*Device_tiodrp_Device;
  109. ˆ*Unit_tiodrp_Unit;
  110. ˆuintiodrp_Command;
  111. ˆushortiodrp_Flags;
  112. ˆshortiodrp_Error;
  113. ˆ*RastPort_tiodrp_RastPort;
  114. ˆ*ColorMap_tiodrp_ColorMap;
  115. ˆulongiodrp_Modes;
  116. ˆuintiodrp_SrcX,iodrp_SrcY,iodrp_SrcWidth,iodrp_SrcHeight;
  117. ˆulongiodrp_DestCols,iodrp_DestRows;
  118. ˆuintiodrp_Special;
  119. „};
  120.  
  121. uint
  122. „SPECIAL_MILCOLS…=0x001,
  123. „SPECIAL_MILROWS…=0x002,
  124. „SPECIAL_FULLCOLS„=0x004,
  125. „SPECIAL_FULLROWS„=0x008,
  126. „SPECIAL_FRACCOLS„=0x010,
  127. „SPECIAL_FRACROWS„=0x020,
  128. „SPECIAL_ASPECT†=0x080,
  129. „SPECIAL_DENSITYMASK=0xF00,
  130. „SPECIAL_DENSITY1„=0x100,
  131. „SPECIAL_DENSITY2„=0x200,
  132. „SPECIAL_DENSITY3„=0x300,
  133. „SPECIAL_DENSITY4„=0x400,
  134. „SPECIAL_CENTER†=0x040;
  135.  
  136. int
  137. „PDERR_CANCEL=1,
  138. „PDERR_NOTGRAPHICS‹=2,
  139. „PDERR_INVERTHAM=3,
  140. „PDERR_BADDIMENSIONŠ=4,
  141. „PDERR_DIMENSIONOVFLOW‡=5,
  142. „PDERR_INTERNALMEMORYˆ=6,
  143. „PDERR_BUFFERMEMORYŠ=7;
  144.